{{ define "main" }}
<div id="content">
  <div id="sidewrap">
    <div id="sidenav">
      {{ partial "sidenav.html" (dict "sidenavType" .Params.sidenav "data" .Site.Data "language" $.Site.Language.Lang ) }}
    </div>
  </div>
  <div id="contentwrap">
    <h1>{{ .Title }}</h1>
    {{- .Content -}}
    {{ if .GitInfo }}
    <hr />
    <div class="last-modified">
      <p><strong>{{ i18n "last-modified" }}</strong>: {{ .GitInfo.AuthorDate | time.Format ":date_long" }} {{ i18n "by" }} <a href="https://cgit.freebsd.org/doc/commit/?id={{ .GitInfo.AbbreviatedHash }}" target="_blank">{{ .GitInfo.AuthorName }}</a></p>
    </div>
    {{ end }}
  </div>
</div>
{{ end }}
